codec

fun codec(): Codec<T>

Provides a Codec representing the value type of this validation, backed by the validators within as applicable

For example, if you have a double with a validity range 0.0 to 1.0, this will de/serialize the double using the Codec, and enforce the valid range.

Return

Codec<T> - Codec of type T backed by this validation.

Author

fzzyhmstrs

Since

0.5.0